package com.cndym.servlet;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;

/**
 * @author faxc
 * @date 2014-12-19 下午03:03:22
 */
public class ChangeResponseWarpper extends HttpServletResponseWrapper {

	public ChangeResponseWarpper(HttpServletResponse response) {
		super(response);
	}

	@Override
	public PrintWriter getWriter() throws IOException {
		return new CheckFrameWriter(super.getWriter());
	}
}
